-- GENERATED SPELL FOR [Timberling Mire Beast] --


function spell0_2029(pUnit, Event) --@Miring Mud,n/a--
pUnit:FullCastSpellOnTarget(5567,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2029', 6000, 1)
end

function Sorts_2029(pUnit, Event)
local choix_sorts_2029 = math.random(0, 0)
if choix_sorts_2029 == 0 then
pUnit:RegisterEvent('spell0_2029', 1, 1)
end
end

function mob2029_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2029', math.random(1500, 3000), 1)
end

function mob2029_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2029_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2029_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2029, 1, 'mob2029_Action')
RegisterUnitEvent(2029, 2, 'mob2029_Leave')
RegisterUnitEvent(2029, 3, 'mob2029_Kill')
RegisterUnitEvent(2029, 4, 'mob2029_Die')
